<?php use_stylesheets_for_form($form) ?>
<?php use_javascripts_for_form($form) ?>

<form id="login-form" class="login-form" action="<?php echo url_for('auth/login') ?>" method="POST">
	<div class="row">
		<div class="form-group col-md-10">
		<?php print $form['username']->renderLabel() ?>
			<div class="controls">
				<div class="input-with-icon  right">
					<i class=""></i> <?php print $form['username']->render(array('class'=>'form-control')) ?> 
				</div>
			</div>
		</div>
	</div>
	<div class="row">
		<div class="form-group col-md-10">
		<?php print $form['password']->renderLabel() ?><span class="help"></span>
			<div class="controls">
				<div class="input-with-icon  right">
					<i class=""></i> <?php print $form['password']->render(array('class'=>'form-control')) ?>
				</div>
			</div>
		</div>
	</div>
	<div class="row">
		<div class="control-group  col-md-10">
			<div class="checkbox checkbox check-success">
				<a href="#">Trouble login in?</a>&nbsp;&nbsp; <input type="checkbox" id="checkbox1" value="1"> <label for="checkbox1">Keep me reminded </label>
			</div>
		</div>
	</div>
	<div class="row">
		<div class="col-md-10">
			<button class="btn btn-primary btn-cons pull-right" type="submit">Login</button>
		</div>
	</div>
	<?php print $form['_csrf_token']->render()?>
</form>